{if $formResponse}
	<div id="formResponse">{$formResponse}</div>
{/if}

<div class="yui-gd">   

<div class="yui-u first">   
<form {$form.attributes}>
{$form.hidden}
<table width="100%" id="sitesFormTable">
	<tr>
        <td valign="top">
        	{$form.siteName.label}
        </td>
	</tr>
	<tr>
        <td valign="top">
            {if $form.siteName.error}<span class="errorMessage">
                {$form.siteName.error}</span><br />
            {/if}
            {$form.siteName.html}
        </td>
	</tr>
	<tr>
        <td valign="top">
        	
            {$form.URL.label}
        </td>
	</tr>
	<tr>
        <td valign="top">
            {if $form.URL.error}<span class="errorMessage">
                {$form.URL.error}</span><br />
            {/if}
            {$form.URL.html}
        </td>
	</tr>
	<tr>
        <td  valign="top">
        	{$form.rssURL.label}
        </td>
	</tr>
	<tr>
        <td valign="top">
            {if $form.rssURL.error}<span class="errorMessage">
                {$form.rssURL.error}</span><br />
            {/if}
            {$form.rssURL.html}
        </td>
	</tr>
	<tr>
    	<td valign="top" align="center">
    	{$form.btnSubmit.html} {$form.btnCancel.html}
        </td>
	</tr>
</table>
</form>
</div>  

<div class="yui-u">   

{if $sites}
<table width="100%" id="sitesTable" class="cpTable">
{foreach item=item from=$sites}
  <tr class="cpTableRow ">
  <td><big><b>{$item.siteName}</b></big>
  <td width="25px"><big><a href="{$uriPath}/{$request->ownerName}/Sites/CP/edit/{$item.idSite}">Edit</a></big></td>
  <td width="25px"><big><a href="{$uriPath}/{$request->ownerName}/Sites/CP/delete/{$item.idSite}">Delete</a></big></td>
  </tr>
{/foreach}
</table>
{/if} 
</div>  

</div>  



